package com.matt.repository;

import com.matt.domain.MQMessage;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/10/25
 * *******************************
 */
public interface MQMessageRepository extends JpaRepository<MQMessage,String>{

    MQMessage findByMsgIdAndStatus(String msgId, Integer status);

    MQMessage findByMsgId(String msgId);
}
